package {
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.display.Sprite;

	/**
	 * @author CroWell
	 */
	public class Main extends Sprite {
		public function Main() {
			
			trace("Hello World!!");
			
			graphics.beginFill(0x00ff00, 1);
			graphics.drawRect(100, 100, 100, 100);
			graphics.endFill();
			
			initStage();
			
		}

		private function initStage() : void {
			if (stage) {
				stage.scaleMode = StageScaleMode.NO_SCALE;
				stage.align = StageAlign.TOP_LEFT;
			}
		}
		
	}
}
